import xmlrpclib

tcp_port="8069"
sock=xmlrpclib.ServerProxy("http://127.0.0.1:%s/xmlrpc/2/common" % tcp_port)
s=sock.version()
print s